package com.gtn.exam.title.persistence.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Proxy;

@Entity
@Table(name="TEMP_TABLE")
@Proxy(lazy=true)
public class TempTable implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	@GenericGenerator(name="hibernate-increment", strategy="increment")
	@GeneratedValue(generator="hibernate-increment")
	@Column(name="TEMP_CODE")
	private Integer tempCode;
	
	@Column(name="DESCRIPTION")
	private String userName;

	/**
	 * @return the tempCode
	 */
	public Integer getTempCode() {
		return tempCode;
	}

	/**
	 * @param tempCode the tempCode to set
	 */
	public void setTempCode(Integer tempCode) {
		this.tempCode = tempCode;
	}

	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
}
